<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="layout" content="main" />
        <title>产品销售图表</title>
        <gui:resources components="['chart']" mode='debug'/>
    </head>
    <body class='yui-skin-sam'>
        <div class="nav">
            <span class="menuButton"><g:link class="home" controller="management" action="main">返回主菜单</g:link></span>
            <span class="menuButton"><g:link class="list" action="list">库存流水账列表</g:link></span>
        </div>
        <div class="body">
            <h1>产品销售图表</h1>

            <div id='barChart' style="width:600px; height: 400px"></div>
               <gui:barChart
        id='myBarChart'
        renderTo="barChart"
        data="${productChartList}"
        seriesDefs="[
            [
                modelNo: 'modelNo'
            ],
            [
                amount: 'amount'
            ]
        ]"
    />
        </div>
    </body>
</html>
